package com.icss.service;

import com.icss.entity.Record;
import com.icss.entity.User;
import org.springframework.data.domain.Page;

import java.sql.Timestamp;
import java.util.List;

public interface RecordService {
    //查询所有记录
    Page<Record> selectRecordAll(int pageNum, int pageSize);
    //按照车牌号、开始时间、结束时间查询
    Page<Record> conditionQuery(int pageNum1, int pageSize1,String carNumber,String illegalStartTime,String illegalEndTime);
    //动态获取信息
    List<Record> showRecord();
    //添加记录
    void addRecord(Record record);
    //编辑记录
    void editRecord(Record record);
    //处理记录
    Integer manageRecord(Integer balance,Integer ablescore,Integer userId);
}
